"use strict";

const Controller = require("egg").Controller;

class TestController extends Controller {
  async index() {
    const { ctx } = this;
    ctx.body = "index";
  }

  async show() {
    const { ctx } = this;
    ctx.body = "show";
  }

  async update() {
    const { ctx } = this;
    ctx.body = "update";
  }

  async destroy() {
    const { ctx } = this;
    ctx.body = "destroy";
  }
}

module.exports = TestController;
